efa inventory device interface unset-mtu

Unsets the device interface MTU.

Syntax

efa inventory device interface unset-mtu [ --ip device-ip | --if-type eth | --if-name if-list | --mtu | --ip-mtu | --ipv6-mtu ]

Parameters

--if-name if-list
Specifies a comma-separated list of unique interface names. For example: 0/50-52,0/45,0/5:4,0/5:1-2.
--if-type eth
Optionally specifies the interface type. Default value is 'eth'. Currently only interface of 'eth' is supported.
--ip device-ip
Specifies a comma-separated range of device IP addresses. For example: 10.1.1.13,10.1.1.50,10.1.1.101.
--ip-mtu
Specifies that IP MTU is to be removed.
--ipv6-mtu
Specifies that IPv6 MTU is to be removed.
--mtu
Specifies that MTU is to be removed.

Examples

This example unsets both mtu and ip-mtu from an interface.

efa inventory device interface unset-mtu  --ip 10.20.24.10 --if-name=0/6 --mtu –ip-mtu 
                
+---------------+-----+------+----------------+------+--------+----------+---------+--------+ 
                
|   DeviceIP    | ID  | Name | Interface Type | MTU  | IP MTU | IPv6 MTU | Result  | Reason | 
                
+---------------+-----+------+----------------+------+--------+----------+---------+--------+ 
                
| 10.20.24.10   | 451 | 0/6  | ethernet       | true | true   | false    | Success |        | 
                
+---------------+-----+------+----------------+------+--------+----------+---------+--------+ 
                
Interface MTU Details 
                
--- Time Elapsed: 6.469215243s ---